Open browser keyword fails to correctly interpret parameter service_log_path

88 views
Skip to first unread message

davidk...@gmail.com

unread,
Sep 14, 2021, 8:03:11 AM9/14/21
to robotframework-users
With Robot Framework > 4.x keyword Open browser (SeleniumLibrary) fails to correctly interpret  parameter service_log_path and assigned value ${None}.
With Robot Framework = 3.2.2 everything works fine.

Repro steps (.resource):

*** Variables ***
${service_log_path}    ${None}


*** Keywords ***
...
...
${browser index}    Open Browser    ${page_url}  ${browser}  remote_url=${REMOTE_URI}
... options=${browser_options}  service_log_path=${service_log_path}

In this case browser driver log should not be created however file with name None is created. This behaviour can be reproduced by using:
robotframework = 4.1.1
robotframework-seleniumlibrary = 5.1.3
OS: Windows 10

Note: as mentioned above, with robot frameowrk=3.2.2 everything works fine.

Thank you,

David

Tatu Aalto

unread,
Sep 15, 2021, 12:06:12 PM9/15/21
to davidk...@gmail.com, robotframework-users
Hi

In SeleniumLibrary 4 library started to relay with Robot Framework to do the argument type conversion and custom code that did handle the conversion was removed. That looks like a bug in somewhere, not totally sure where the bug is. To get things moving could you raise an issue to SeleniumLibrary issue tracker?

-Tatu
Send from my mobile

--
You received this message because you are subscribed to the Google Groups "robotframework-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to robotframework-u...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/robotframework-users/c5d16f28-e166-4e38-8285-75bd05fe36c5n%40googlegroups.com.

davidk...@gmail.com

unread,
Sep 16, 2021, 12:00:32 PM9/16/21
to robotframework-users
Hi Tatu,

issue has been created: 

David

Reply all
Reply to author
Forward
0 new messages