SeleniumHQ/selenium-google-code-issue-archive

ERROR: TypeError: Cannot read property 'until' of undefined

mdasifazhar opened this issue · 0 comments

Hi,
My test cases are running over headless browser.
I'm automating my scenario using HtmlUnitDriver and getting the below error:-

var webdriver = context.HtmlUnitDriver;
var By = webdriver.Untill;
ERROR: TypeError: Cannot read property 'until' of undefined

Getting same error for By:-
ERROR: TypeError: Cannot read property 'By' of undefined
var By = webdriver.By;

Regards