How to use javacript and function in selenium webdriver using python

I want to use javascript  in my selenium + Python script.

Add Comment
  • 1 Answer(s)

    Hi Chandra

    If I am not wrong there is already a execute_script method for python binding of Selenium , you can use that and pass your javascript code and WebElements to it

    Supporter Answered on January 2, 2015.
    Add Comment
  • Your Answer

    By posting your answer, you agree to the privacy policy and terms of service.