Skip to content

Commit

Permalink
Clarify comment
Browse files Browse the repository at this point in the history
  • Loading branch information
gsnedders committed Sep 7, 2018
1 parent 82f2a37 commit 59bed35
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion tools/wptrunner/wptrunner/executors/executorselenium.py
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,8 @@ def close_old_windows(self):
def get_test_window(self, window_id, parent):
test_window = None
try:
# Try this, it's in Level 1 but nothing supports it yet
# Try using the JSON serialization of the WindowProxy object,
# it's in Level 1 but nothing supports it yet
win_s = self.webdriver.execute_script("return window['%s'];" % window_id)
win_obj = json.loads(win_s)
test_window = win_obj["window-fcc6-11e5-b4f8-330a88ab9d7f"]
Expand Down

0 comments on commit 59bed35

Please sign in to comment.