We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f2ce01f commit dc2eb0eCopy full SHA for dc2eb0e
1 file changed
seleniumbase/core/sb_cdp.py
@@ -184,9 +184,13 @@ def get_rd_url(self):
184
and also applies nest-asyncio for nested event loops so
185
that SeleniumBase methods can be called from Playwright
186
without encountering event loop error messages such as:
187
- Cannot run the event loop while another loop is running."""
+ Cannot run the event loop while another loop is running.
188
+ Also sets an environment variable to hide this warning:
189
+ Deprecation: "url.parse() behavior is not standardized".
190
+ (github.com/microsoft/playwright-python/issues/3016)"""
191
import nest_asyncio
192
nest_asyncio.apply()
193
+ os.environ["NODE_NO_WARNINGS"] = "1"
194
driver = self.driver
195
if hasattr(driver, "cdp_base"):
196
driver = driver.cdp_base
0 commit comments