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 829e346 commit 749d1a4Copy full SHA for 749d1a4
crossbench/browsers/chromium_based/webdriver.py
@@ -256,10 +256,10 @@ def switch_tab(
256
for handle in handles:
257
driver.switch_to.window(handle)
258
if title is not None:
259
- if title.match(driver.title) is None:
+ if title.search(driver.title) is None:
260
continue
261
if url is not None:
262
- if url.match(driver.current_url) is None:
+ if url.search(driver.current_url) is None:
263
264
return handle
265
error = "No new tab found"
0 commit comments