Open Browser keyword options argument does not support parsing complex structures.
See original GitHub issueI’m attempting to launch chromedriver in a mobile view using the new mobile emulation flag. When I attempt to use it as an option for the open browser keyword, I am getting an error stating that too many args are passed.
*** Test Case ***
open browser in mobile view
${mobileDev}= Create dictionary deviceName Galaxy S5
open browser www.google.com browser=chrome
options=add_experimental_option("mobileEmulation", ${mobileDev})
Error returned
TypeError: add_experimental_option() takes exactly 3 arguments (4 given)
Issue Analytics
- State:
- Created 4 years ago
- Comments:5 (3 by maintainers)
Top Results From Across the Web
Browser.Selenium — RPA Framework documentation
SeleniumLibrary is a web testing library for Robot Framework. This document explains how to use keywords provided by SeleniumLibrary.
Read more >Robot Framework User Guide
Robot Framework is a Python-based, extensible keyword-driven automation framework for acceptance testing, acceptance test driven development (ATDD), behavior ...
Read more >Strict mode - JavaScript - MDN Web Docs
Browsers not supporting strict mode will run strict mode code with ... Fixes mistakes that make it difficult for JavaScript engines to ...
Read more >URL dispatcher - Django documentation
Django lets you design URLs however you want, with no framework limitations. ... The keyword arguments are made up of any named parts...
Read more >Beautiful Soup Documentation — Beautiful Soup 4.4.0 ...
Beautiful Soup supports the HTML parser included in Python's standard library, but it also supports a number of third-party Python parsers. One is...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
In use the following code and it works:
@HelioGuilherme66 @aaltat thanks! I’ll implement the workaround for now but it would be cool to have the open browser keyword support the complex types.