Skip to content

Commit 4db6816

Browse files
committed
add advice for older chromes
1 parent 1171e00 commit 4db6816

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

lib/Selenium/Remote/Driver.pm

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -251,6 +251,11 @@ WD3 enabled server with chromedriver enabled.
251251
Also, if you instantiate the object in WC3 mode (which is the default), the remote driver will throw exceptions you have no choice but to catch,
252252
rather than falling back to JSONWire methods where applicable like geckodriver does.
253253
254+
As of chrome 75 (and it's appropriate driver versions), the WC3 spec has finally been implemented.
255+
As such, to use chrome older than this, you will have to manually force on JSONWire mode:
256+
257+
$Selenium::Remote::Driver::FORCE_WD2=1;
258+
254259
=head1 CONSTRUCTOR
255260
256261
=head2 new

0 commit comments

Comments
 (0)