Forum Stats

  • 3,782,966 Users
  • 2,254,716 Discussions
  • 7,880,231 Comments

Discussions

Question on Python - Selenium Webdriver

using python-selenium webdriver, I am able to login now....but the problem is... the next page of login is something like i need to click "I AGREE" when I do inspect element it shows like this:

<button class="xl" onclick="return _chain('javascript:showWaitMessage(window);','submitForm(\'_id2\',1,{source:\'_id19\'});return false;',this,event,true)" type="button">I AGREE</button>


How do i capture find_element_by_id or find_element_by_name using the above snippet..

Tagged:

Best Answer

Answers