You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If robot is run with command: robot -d {foo}_dir path/to/suite then Open Browser keyword will fail with Firefox on: KeyError: 'foo'. This is because Python format is used. Same problem also applies to Capture Page Screenshot.
aaltat
changed the title
It output dir contains { and } characters, then opening browser with Firefox will fail.
If output dir contains { and } characters, then opening browser with Firefox will fail.
Sep 23, 2019
aaltat
changed the title
If output dir contains { and } characters, then opening browser with Firefox will fail.
If output dir contains multiple { and } characters pairs, then opening browser with Firefox will fail.
Oct 1, 2019
If robot is run with command:
robot -d {foo}_dir path/to/suite
thenOpen Browser
keyword will fail with Firefox on:KeyError: 'foo'
. This is because Python format is used. Same problem also applies to Capture Page Screenshot.Build a wrapper that handle formatting for Python 2 and Python 3. For Python 3: https://docs.python.org/3/library/stdtypes.html#str.format_map is nice. For Python 2 build a something like: https://stackoverflow.com/questions/17215400/python-format-string-unused-named-arguments
The text was updated successfully, but these errors were encountered: