Newly opened window is not getting preferences from parent window in selenium webdriver

user2365105

I'm automating an application which is having digestive authentication process. From one window, when clicking on particular link we will get a new window which will have digestive authentication. I'm using Firefox browser for my automation. When I do it from system profile, it's working fine, but when I use custom profile from selenium, it's not automatically authenticated. I suspect that preferences from parent window is not shared with new window. Can anyone help me on this ?

Maximas

You need to make sure that the window is definitely opening in the profile you need it to. If it isn't, a good idea is to go through and check that the webdriver settings are connected to the correct profile.

If that is all correct, ensure the settings within your custom Firefox profile are the exact same as the ones within the system profile.

You can check the profile running in the terminal:

firefox -P

This should open the profile manager. Hope I've helped :)

Collected from the Internet

Please contact [email protected] to delete if infringement.

edited at
0

Comments

0 comments
Login to comment

Related

From Dev

Switch from child to parent window in Selenium Webdriver

From Dev

Remove a node from the newly opened window jquery

From Dev

How to close newly opened window in Jmeter webdriver Sampler.?

From Dev

unable to read child window element in selenium as parent window getting closed

From Dev

Get element of a newly opened & loaded window - Javascript

From Dev

Selenium Webdriver java automate window

From Dev

nodejs selenium-webdriver checking current url of newly opened tabs

From Dev

How to get value from DOM window in Selenium webdriver(Java)

From Dev

Passing variables to a newly opened window - nwj (node-webkit)

From Dev

Desktop file icon hijacks every newly opened terminal window

From Dev

Trigger an element click on newly opened browser window using Jquery

From Dev

Selenide test not able to load correct element on a newly opened tab/window

From Dev

How to make main window wait until a newly opened window closes in C# WPF?

From Dev

Selenium, WebDriver for Chrome Stopping the window opening

From Dev

Get focus on the new window in Selenium Webdriver and Python

From Dev

Selenium webdriver selecting new window c#

From Dev

Selenium Webdriver - How to close popup window with java

From Dev

is it possible to close child window from parent window?

From Dev

Extjs refer to parent window from new window

From Dev

opening modal window from iFrame into parent window

From Dev

Jquery control parent window from child window

From Dev

Extjs refer to parent window from new window

From Dev

Redirect to parent window from child window and close the child window

From Dev

SetParent of window before the window opened

From Dev

Binding data from parent window

From Dev

Restoring parent from the desktop window

From Dev

Selenium Webdriver - Chrome - Switch Window and back - Unable to receive message from renderer

From Dev

accessing objects of window from selenium

From Dev

Navigate driver to new opened window in selenium with C#

Related Related

  1. 1

    Switch from child to parent window in Selenium Webdriver

  2. 2

    Remove a node from the newly opened window jquery

  3. 3

    How to close newly opened window in Jmeter webdriver Sampler.?

  4. 4

    unable to read child window element in selenium as parent window getting closed

  5. 5

    Get element of a newly opened & loaded window - Javascript

  6. 6

    Selenium Webdriver java automate window

  7. 7

    nodejs selenium-webdriver checking current url of newly opened tabs

  8. 8

    How to get value from DOM window in Selenium webdriver(Java)

  9. 9

    Passing variables to a newly opened window - nwj (node-webkit)

  10. 10

    Desktop file icon hijacks every newly opened terminal window

  11. 11

    Trigger an element click on newly opened browser window using Jquery

  12. 12

    Selenide test not able to load correct element on a newly opened tab/window

  13. 13

    How to make main window wait until a newly opened window closes in C# WPF?

  14. 14

    Selenium, WebDriver for Chrome Stopping the window opening

  15. 15

    Get focus on the new window in Selenium Webdriver and Python

  16. 16

    Selenium webdriver selecting new window c#

  17. 17

    Selenium Webdriver - How to close popup window with java

  18. 18

    is it possible to close child window from parent window?

  19. 19

    Extjs refer to parent window from new window

  20. 20

    opening modal window from iFrame into parent window

  21. 21

    Jquery control parent window from child window

  22. 22

    Extjs refer to parent window from new window

  23. 23

    Redirect to parent window from child window and close the child window

  24. 24

    SetParent of window before the window opened

  25. 25

    Binding data from parent window

  26. 26

    Restoring parent from the desktop window

  27. 27

    Selenium Webdriver - Chrome - Switch Window and back - Unable to receive message from renderer

  28. 28

    accessing objects of window from selenium

  29. 29

    Navigate driver to new opened window in selenium with C#

HotTag

Archive