未验证 提交 2d2aa0ee 编写于 作者: R Rafael França 提交者: GitHub

Merge pull request #31062 from y-yagi/follow_up_of_31046

Explicitly pass window handle to `resize_window_to`
......@@ -59,7 +59,7 @@ def register_poltergeist(app)
def register_webkit(app)
Capybara::Webkit::Driver.new(app, Capybara::Webkit::Configuration.to_hash.merge(@options)).tap do |driver|
driver.resize_window_to(*@screen_size)
driver.resize_window_to(driver.current_window_handle, *@screen_size)
end
end
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册