Web Automation using Watir: Tutorial-3 : Trigger Chrome Browser

preview_player
Показать описание
Web Automation using Watir: Tutorial-3 : Trigger Chrome Browser

-~-~~-~~~-~~-~-
Please watch: "API Testing using Python - Write End to End Test Case"
-~-~~-~~~-~~-~-
Рекомендации по теме
Комментарии
Автор

I am getting the following error message,
unexpected token tLPAREN2
(Using Ruby 2.6 parser; configure using `TargetRubyVersion` parameter, under `AllCops`) (error:Lint/Syntax)

and my code is,

browser = Watir::Browser.new(:chrome, desired_capabilities:caps)

Please suggest, thank you

RebecaGasparino
Автор

I am getting the following error message,
`<main>': undefined local variable or method `chrome' for main:Object (NameError)

and my code is,

browser = Watir::Browser.new browser:chrome, desired_capabilities:caps

Please suggest, thank you

ravi_bhatia
Автор

Hi ,
Thanks for posting this video, i'm getting the below error while using the syntax in code
syntax error, unexpected tLABEL
me(:chrome_options => (detach:true))
TIA....

premkumarbhaskar