Component not initialized #311
-
Same issue as described in mozilla/geckodriver#1623 This seems to only occur for long running actions in which Firefox tells Geckodriver the page is ready but it is not which in turn causes the exception. Is there anything we can do here to workaround the issue? |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments
-
See Issue #190 |
Beta Was this translation helpful? Give feedback.
-
Add reference to the comments in the issue for reference #190 (comment) below: Should be as simple as setting prompts.tab_modal.enabled to true. However, this generates the following exception:
I will need to research if this can be bypassed. |
Beta Was this translation helpful? Give feedback.
-
Add reference to the comments in the issue for reference #190 (comment) below: I have found that there is a default preferences being loaded. See FirefoxProfile.java Workaround: In resources you need to have /org/openqa/selenium/firefox/webdriver_prefs.json that sets prompts.tab_modal.enabled to true. Sample webdriver_prefs.json based on default file in which prompts.tab_modal.enabled is true:
Note: This workaround may not work in later versions of Selenium as the code is marked at beta. Also, overriding the default file could have unexpected consequences in later versions. So, for now this should not be included in the framework. |
Beta Was this translation helpful? Give feedback.
Add reference to the comments in the issue for reference #190 (comment) below:
I have found that there is a default preferences being loaded. See FirefoxProfile.java
Workaround: In resources you need to have /org/openqa/selenium/firefox/webdriver_prefs.json that sets prompts.tab_modal.enabled to true.
Sample webdriver_prefs.json based on default file in which prompts.tab_modal.enabled is true: