Corion / WWW-Mechanize-Chrome

automate the Chrome browser
https://metacpan.org/release/WWW-Mechanize-Chrome
Artistic License 2.0
30 stars 12 forks source link

Provide access to transport #52

Closed davavra closed 4 years ago

davavra commented 4 years ago

I need to access to the transport used by Mechanize Chrome. $mech->driver and $mech->target return the same thing.

I found that I can get to the transport by $mech->target->{transport} but am afraid this might change in future releases.

A specific method would be better.

Corion commented 4 years ago

Yes - I've just added ->transport for direct access to the underlying transport object.