Caius Webdriver: $window focus - Error with ChromeDriver

18 views
Skip to first unread message

Mark Case

unread,
Feb 5, 2021, 3:28:44 PM2/5/21
to caius-users
Using ChromeDriver version 88.0.4324.96, the focus method fails as coded in the window.tcl module.  Approximately at line 80, the json needs to be changed from

        method focus {} {
            set json "{ \"name\": \"\{$_handle\}\" }"

to
        method focus {} {
            set json "{ \"name\": \"$_handle\" }"

This change works as expected.

Tobias Koch

unread,
Feb 14, 2021, 4:56:26 PM2/14/21
to caius-users
Thanks a lot for reporting this. I guess some old cruft in the protocol is finally going away. I added your fix in


Toby
Reply all
Reply to author
Forward
0 new messages