watir - Can you change the browser profile in Ruby WQatir / Selenium mid-stream? -
i know can set special profile designating myprofile , saying
browser = watir::browser.new :firefox, :profile => myprofile
but possible declare
browser = watir:browser.new :firefox
to start out test standard profile , switch myprofile later? syntax that?
can define scenario ? because, had done profile related things, had not need change profile later. had set profile @ beginning of file tell firefox not appear it's download prompt dialog box, download file @ told destination.
so, interesting know why trying change profile later.
Comments
Post a Comment