http://automationpractice.com/index.php?id_category=9&controller=category
I am automating a webpage using Selenium Webdriver. I am not able to click a button a modal pop up window using simple element locator method. Example.
- open http://automationpractice.com
- click "Add to Cart".
- Now a pop up window comes where "Checkout" button is located. I need to click on this "Proceed to checkout" button.
I tried switchTo() windowhandle but nothing worked.