LambdaTest Community

Find answers, support, and inspiration from other users

Questions
LambdaTest Community
Unanswered

Getting the return value of Javascript code in Selenium

I'm using Selenium2 for some automated tests of my website, and I'd like to be able to get the return value of some Javascript code. If I have a foobar() Javascript function in my webpage and I want to call that and get the return value into my Python code, what can I call to do that?

Up Vote Down Vote 0 Votes
Posted 29 days ago

Answers

119 Views
0 Answers
29 days ago