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 3e750c5 commit 787abe5Copy full SHA for 787abe5
test/sanity/issue4286-inject-start-end/index.html
@@ -2,6 +2,7 @@
2
<html>
3
<head>
4
<script>
5
+ window.name = 'index';
6
nw.Window.open('popup.html', {
7
'inject_js_start': 'inject_start.js',
8
'inject_js_end': 'inject_end.js'
test/sanity/issue4286-inject-start-end/test.py
@@ -13,8 +13,9 @@
13
driver.implicitly_wait(5)
14
time.sleep(1)
15
try:
16
- print driver.current_url
17
wait_window_handles(driver, 2)
+ wait_switch_window_name(driver, 'index')
18
+ print driver.current_url
19
result = wait_for_element_id(driver, 'inject_start')
20
print 'inject_js_start: %s' % result
21
assert('success' in result)
0 commit comments