Thank you DebanjanB!
I’ve tried to push cookies just after driver start and before open URL tab.
Working solution:
driver.get('http://mydomain')
driver.manage.addCookie(....)
driver.get('http://mydomain')
Just open a tab, add cookie and reopen a tab again
More Related Contents:
- Selenium: Point towards default Chrome session
- What Is Selenium And What Is WebDriver?
- NoSuchElementException, Selenium unable to locate element
- Can Selenium interact with an existing browser session?
- What is the difference between cssSelector & Xpath and which is better with respect to performance for cross browser testing?
- How to run Selenium WebDriver test cases in Chrome
- How to inspect element for Selenium v3.6 as FireBug is not an option any more for FF 56?
- Can Selenium WebDriver open browser windows silently in the background?
- Is there a version of Selenium WebDriver that is not detectable?
- Many process of Google Chrome (32 bit)
- Clarification of the cause of mixing Implicit and Explicit waits in Selenium doc
- Reached error page: about:neterror when trying to navigate to other tabs if there is a form submit under that tab
- What is benefit of using ChromeDriver over WebDriver if we are using only Chrome Browser in our Selenium Automation Script
- Refreshing Web Page By WebDriver When Waiting For Specific Condition
- Selenium and non-headless browser keeps asking for Captcha
- Need to find element in selenium by css
- org.openqa.selenium.ElementNotInteractableException: Element could not be scrolled into view when trying to click a button
- What is the exact purpose of Selenium Grid?
- Cannot get automation extension from timeout: Timed out receiving message from renderer
- How do you click on a checkbox from a list of checkboxes via Selenium/Webdriver in Java?
- What is the difference between a CSS selector and XPath? And which is better with respect to performance for cross-browser testing?
- What is the difference between a CSS and XPath selector? And which is better with respect to performance for cross-browser testing?
- I need to find an element in Selenium by CSS
- org.openqa.selenium.SessionNotCreatedException: Unable to find a matching set of capabilities while initiating Firefox v37 through Selenium v3.11.0
- Selenium how to manage wait for page load?
- selenium.common.exceptions.SessionNotCreatedException: Message: session not created: This version of ChromeDriver only supports Chrome version 80
- Get PID of Browser launched by selenium
- Handle windows authentication pop up on Chrome
- How does Selenium WebDriver’s isDisplayed() method work
- isElementPresent is very slow in case if element does not exist.