maybe this will fix it?
This commit is contained in:
parent
24d7eccfe1
commit
098b122842
@ -25,7 +25,7 @@ module PersistentSelenium
|
|||||||
end
|
end
|
||||||
|
|
||||||
def set_app_host(host)
|
def set_app_host(host)
|
||||||
@app_host = host
|
@app_host = host.dup
|
||||||
|
|
||||||
browser.navigate.to("data:text/html;base64,#{Base64.encode64(starting_page)}")
|
browser.navigate.to("data:text/html;base64,#{Base64.encode64(starting_page)}")
|
||||||
end
|
end
|
||||||
|
@ -4,7 +4,7 @@ Capybara.register_driver :persistent_selenium do |app|
|
|||||||
require 'drb'
|
require 'drb'
|
||||||
|
|
||||||
DRb.start_service
|
DRb.start_service
|
||||||
browser = DRbObject.new nil, PersistentSelenium.url
|
browser = DRbObject.new nil, PersistentSelenium.url
|
||||||
|
|
||||||
server = Capybara::Server.new(app)
|
server = Capybara::Server.new(app)
|
||||||
server.boot
|
server.boot
|
||||||
|
Loading…
Reference in New Issue
Block a user