Using getCookies() to get all cookies and extracting in Selenium Webdriver

Any site can have single or multiple cookies. If you know cookie name then you can get it’s detail easily using getCookieNamed(). But if there are multiple cookies and you need all of them then you need to use getCookies(). Selenium webdriver get cookies will retrieve all cookies of site you are navigating in selenium webdriver test. … Read more

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

How to Manage Browser Dimension and Position in Selenium Webdriver

Sometimes you need to set Dimension and Position of your browser window. We have built in selenium dimension class and selenium Position class with many different methods. We can use dimension class in selenium and Position class in selenium and it’s methods to set dimensions and positions of browser window. Let’s see how we can use Dimension and … 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