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
This might be fixed by using $res->content instead of $mech->content but this doesn't always get the body without setting the wait attribute to a non-zero value. According to the WWW::Mechanize::Chrome documentation for the get method:
Note that the returned HTTP::Response object gets the response body filled in lazily, so you might have to wait a moment to get the response body from the result. This is a premature optimization and later releases of WWW::Mechanize::Chrome are planned to fetch the response body immediately when accessing the response body.
WWW::Mechanize::Chrome seems to be wrapping non-HTML documents in HTML. See Corion/WWW-Mechanize-Chrome#55
The text was updated successfully, but these errors were encountered: