Try to search your question here, if you can't find : Ask Any Question Now ?

$x() always returns ƒ (){} in Chrome Developer Tools console on gmail page

HomeCategory: stackoverflow$x() always returns ƒ (){} in Chrome Developer Tools console on gmail page
craig asked 1 week ago

$x("//div") always returns ƒ (){} in Chrome Developer Tools console on gmail page.

For that matter it returns empty function for any locator.

Whereas same locator $x("//div") on a jira page correctly returns array of all divs.

Chrome 73.0.3683.103 MacOS 10.14.3 Mojave

Any clues?

BTW, this locator is just used for testing since the actual locator was failing from Python 3.x based Selenium scripts using chromedriver.
So redefining of $x() affects Selenium automation too?

gmail divs
jira divs

1 Answers
Best Answer
Arben answered 1 week ago
Your Answer

8 + 4 =

Popular Tags

WP Facebook Auto Publish Powered By : XYZScripts.com