selenium - should i able to load entire html page using htmlUnitDriver -
i using chrome driver selenium test case. working fine. there performance issue in project, want migrate testcase chromedriver htmlunitdriver. when trying use htmlunitdriver in testcase, changing driver name htmlunitdriver, selenium testcase not working.
after working around driver, thought htmlunitdriver not loading entire page.
why telling because htmlunitdriver can find div id's in beginning of page.
other divs not found driver. getting nosuchelementexception div id's.
so please me resolve problem in project.
aren't elements looking created javascript/ajax calls? you might need enable javascript support in htmlunitdriver first.
but beware, work well, behave differently see in real browsers.
otherwise, using implicit/explicit waits searches? js enabled, takes while before asynchronous requests handled.
Comments
Post a Comment