Revision 4c6a2323
Added by koszko over 1 year ago
| test/unit/test_indexeddb.py | ||
|---|---|---|
| 318 | 318 |
# will be used to make changes to IndexedDB and window 0 to "track" those |
| 319 | 319 |
# changes. |
| 320 | 320 |
driver.execute_script('window.open(window.location.href, "_blank");')
|
| 321 |
WebDriverWait(driver, 10).until(lambda d: len(d.window_handles) == 2) |
|
| 321 | 322 |
windows = [*driver.window_handles] |
| 322 |
assert len(windows) == 2 |
|
| 323 | 323 |
|
| 324 | 324 |
# Create elements that will have tracked data inserted under them. |
| 325 | 325 |
driver.switch_to.window(windows[0]) |
Also available in: Unified diff
make Haketilo buildable again (for Mozilla)
How cool it is to throw away 5755 lines of code...