ScrapySharp icon indicating copy to clipboard operation
ScrapySharp copied to clipboard

browser.NavigateToPage hangs - 2020/04/10

Open eyanson opened this issue 5 years ago • 8 comments

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/"));

eyanson avatar Apr 10 '20 14:04 eyanson

Same problem.

niko-la-petrovic avatar Apr 25 '20 13:04 niko-la-petrovic

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 avatar Jun 18 '20 06:06 gbthakkar

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

gbthakkar avatar Jun 18 '20 07:06 gbthakkar

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

maliki2 avatar Jul 22 '20 16:07 maliki2

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));

gbthakkar avatar Jul 24 '20 11:07 gbthakkar

Same problem.

adryzz avatar Oct 17 '20 20:10 adryzz

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 ??

Budsy avatar Dec 29 '20 23:12 Budsy

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.

vb-mich avatar Jan 21 '21 03:01 vb-mich