RE: Help with ecommerce website and pop which says ‘Go to Checkout’ or ‘Continue Shopping’

Hi all.

I am new to all this. On the eCommerce website where I am assuming a pop up box appears which says¬†‘Go to Checkout’ or ‘Continue Shopping’ I cant get my tests to get pass this.

Is this JavaScript or a simple alert? Which locator do I use and how do I drive the web-driver to get pass this?

Are there answers for the eCommerce website somewhere?

Any help appreciated.

arifi Train Asked on November 27, 2015 in Selenium WebDriver.
Add Comment
5 Answers

Yes I remember that we also faced similar issue. That’s a great find, please mark your question as answered and mark your answer above as the right answer.

Instead of thread.sleep you would like to put and explicit wait, 

http://toolsqa.com/selenium-webdriver/implicit-explicit-n-fluent-wait/

Thanks and keep posting.

Professor Answered on November 30, 2015.
Add Comment

Your Answer

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