fabioandrec / selenium-vba

Automatically exported from code.google.com/p/selenium-vba
0 stars 0 forks source link

Resume execution before website loads completely #84

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
Operating system : Win 8.1
.Net Framework version :
Office Version : 2013
SeleniumWrapper version : 1.0.19.0

What is your issue ?
I need to login into a website as soon as username/password fields have loaded.
The website takes some time to load completely and system waits until then if i 
use driver.open or driver.get methods- is there a way to resume code execution 
without waiting for it to load?

Original issue reported on code.google.com by rohan.ka...@gmail.com on 17 Aug 2014 at 10:08

GoogleCodeExporter commented 9 years ago
I don't understand your question. Could you reformulate it and include an 
example?

Original comment by florentbr on 21 Aug 2014 at 7:26

GoogleCodeExporter commented 9 years ago
The website I am testing takes a long time to load - but the username/password 
fields and login button load immediately - normally Selenium waits for the 
website to load completely - is there a way to login into the website even 
before the website loads?

Original comment by rohan.ka...@gmail.com on 21 Aug 2014 at 3:02

GoogleCodeExporter commented 9 years ago
No Selenium is an automation tool and it doesn't provide an API to build and 
send requests and i'm not aware of any option to load a page partially.
If it's for testing purpose, you should create a light login page to speed-up 
tests or you could reuse the same instance.

Original comment by florentbr on 26 Aug 2014 at 10:54

GoogleCodeExporter commented 9 years ago

Original comment by florentbr on 8 Sep 2014 at 5:40