How to use addCookie() and getCookieNamed() in Selenium WebDriver

Selenium webdriver add cookie and selenium webdriver get Cookie Named are very useful methods. Most of all you are already aware about browser cookie. Basically cookie is piece of data that is stored in your browser. It is sent from website you visit and mostly it is used to recognize if user return to website again. … Read more

Selenium maximize window using manage() method in Selenium WebDriver

manage() method is very basic which we are using to maximize window in selenium very frequently. You can use it to manage size and positions of browser window during your test. You can use it to add or delete cookie, get cookie, timeouts, waits and there are many other usages as well. we need to … Read more

Use of navigate() method in Selenium WebDriver

navigate() method in selenium is very frequently used method. Using selenium navigate to url method, driver can navigate back, forward, refresh browser and navigate to specific URL. navigate() is very simple method and we can use it verify quickly in our selenium webdriver tests. Lets see how we can use navigate() method in selenium webdriver. … Read more

Selenium switchTo() iFrames using index

We can use switchTo() method in selenium when you want to switch between multiple browser windows or multiple frames on page. Earlier we had seen how to switch between two windows using getWindowHandles() and switchTo() methods. You need switch to iframe in selenium when you have take action inside iframe on page. There are many different … Read more