Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

browser.NavigateToPage hangs - 2020/04/10 #29

Open
eyanson opened this issue Apr 10, 2020 · 8 comments
Open

browser.NavigateToPage hangs - 2020/04/10 #29

eyanson opened this issue Apr 10, 2020 · 8 comments

Comments

@eyanson
Copy link

eyanson commented Apr 10, 2020

Hi. I'm testing sample code. NavifateToPage hangs app.
Can you help me please?

ScrapingBrowser browser = new ScrapingBrowser();
WebPage homePage = browser.NavigateToPage(new Uri("http://www.bing.com/"));

@niko-la-petrovic
Copy link

Same problem.

@gbthakkar
Copy link

gbthakkar commented Jun 18, 2020

Same problem, I manage to get the result with
ScrapySharp.Network.WebPage homePage = await browser.NavigateToPageAsync(new Uri(formUrl));

but then , Again I want to use below code..where "Submit" method again hang and does not go to next line.
PageWebForm form = homePage.FindFormById(searchFormId);
form[Nameinput_TxtName] = "khushi";
form.Method = HttpVerb.Post;
WebPage postResult = form.Submit(new Uri(postFormActionUrl));

@gbthakkar
Copy link

I see that , we have commit comment 'Added async submit methods to PageWebForm' on 31-May-2019, but that does not reflect on nugat package. So if we can publish that on nugat, we can use new fixes. Please do it if you can. Thanks

@maliki2
Copy link

maliki2 commented Jul 22, 2020

Same problem with me, the browser.NavigateToPage() Hangs

@gbthakkar
Copy link

Hi maliki2

Same problem with me, the browser.NavigateToPage() Hangs

Same problem, I manage to get the result with
ScrapySharp.Network.WebPage homePage = await browser.NavigateToPageAsync(new Uri(formUrl));

@adryzz
Copy link

adryzz commented Oct 17, 2020

Same problem.

@Budsy
Copy link

Budsy commented Dec 29, 2020

I think I'm experiencing a semi-hang, even with the Async method. But only on a shared web hosting service! On my dev machine, I can scan all my site pages in about 1-2 seconds. On the production server it takes 10-20 minutes !!! But the results come out the same usually, sometimes no index files result. I can't figure what's going on over at the web host. SSL ??

@vb-mich
Copy link

vb-mich commented Jan 21, 2021

The problem is still present and in my case using NavigateToPageAsync doesn't return any result.
I found that using a console app solves the problem.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

7 participants