c w
2017-05-01 14:57:26 UTC
Hi ! I need tour help!
I use a code used to be working but with all changes it looks like is no
longer working.
I try to goole but I haven't find the answer.
I use testgen framework and really doesn't mateer. It looks like I cannot
resize the browser window to different sizez or even to maximize.
Please can one tell me what has been changed and what I should update. I
have no idea where the driver resides now.
I use this
require 'watir'
require "rubygems"
Before do
@browser = Watir::Browser.new :chrome
puts "................................................."
#have to find out how to maximize the browser - it looks like the old way
no longer working
#@browser.window.maximize #this used to be working
@browser.driver.manage().window().maximize # no longer working
@browser.driver.manage.window.resize_to(900,900) # not working
end
--
--
Before posting, please read http://watir.com/support. In short: search before you ask, be nice.
watir-***@googlegroups.com
http://groups.google.com/group/watir-general
watir-general+***@googlegroups.com
---
You received this message because you are subscribed to the Google Groups "Watir General" group.
To unsubscribe from this group and stop receiving emails from it, send an email to watir-general+***@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
I use a code used to be working but with all changes it looks like is no
longer working.
I try to goole but I haven't find the answer.
I use testgen framework and really doesn't mateer. It looks like I cannot
resize the browser window to different sizez or even to maximize.
Please can one tell me what has been changed and what I should update. I
have no idea where the driver resides now.
I use this
require 'watir'
require "rubygems"
Before do
@browser = Watir::Browser.new :chrome
puts "................................................."
#have to find out how to maximize the browser - it looks like the old way
no longer working
#@browser.window.maximize #this used to be working
@browser.driver.manage().window().maximize # no longer working
@browser.driver.manage.window.resize_to(900,900) # not working
end
--
--
Before posting, please read http://watir.com/support. In short: search before you ask, be nice.
watir-***@googlegroups.com
http://groups.google.com/group/watir-general
watir-general+***@googlegroups.com
---
You received this message because you are subscribed to the Google Groups "Watir General" group.
To unsubscribe from this group and stop receiving emails from it, send an email to watir-general+***@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.