in reply to Module to open and close browser tabs

You don't say which browser, but there's WWW::Mechanize::Chrome. If you're target content doesn't depend on JavaScript you can look at Mojo::UserAgent or similar to parse what you need.

  • Comment on Re: Module to open and close browser tabs

Replies are listed 'Best First'.
Re^2: Module to open and close browser tabs
by Fletch (Bishop) on Jan 11, 2025 at 01:33 UTC

    Agreed the question's too vague as is to give a good answer but the Selenium project is possibly something to check out.

    The cake is a lie.
    The cake is a lie.
    The cake is a lie.

Re^2: Module to open and close browser tabs
by justin423 (Scribe) on Jan 13, 2025 at 18:03 UTC
    Yes, this has it. it has the autoclose function, which wasn't mentioned in the main Mechanize CPAN.

      Again, you're not being specific. Are you saying that WWW::Mechanize does not document closure of an actual browser?

        Correct. WWW::Mechanize does not. but WWW::Mechanize::Chrome DOES document it.