selenium - how to execute javascript in robot framework -


Below is my code when I run it to find it WebDriverException I want to know how to use JavaScript in the robot framework Execute this refund $ (logic [0]). Data ('$ {ToolTip}'). Options.title code- Java selenium is doing well in the Web driver.

  $ over mouse {CreateTask} JavaScript returns $ (argument [0]) data ('$ {tooltip}'). 

By default, the code will be executed in the context of selenium objects, so it will refer to the selenium object. Use the window to see your app's window, e.g. ($ Foo).

Create the mouse on the $ [CreateTask] Javascript return window. $ (Argument [0]) .data ('$ {tooltip}'). Options.title

Assume that there is some library (most JQuery) that actually understands $ shorthand.

Comments

Popular posts from this blog

python - how we can use ajax() in views.py in django? -

matlab - Using loops to get multiple values into a cell -

python - Sequence Pattern recognition with Pybrain -