Hello monks!

I read on the documentation of WWW::Mechanize::Chrome that this is the support forum of the module... grin.. grin..

First of all thanks for this wonderful module! What I'm trying, having success, is the automation of a very complex page full of js and other amenities, but following questions are also applicable to other websites I suppose. So here the questions (my setup at the end of the post):

1) this is really silly: I see a banner in the browser telling me that the software is controlled by automation software. Is this perceivible by websites part? I mean: something in the useragent will tell is a automation bot? or examining the access log?

2) even with incognito => 0 in the constructor, the browser (both chrome and chromium) opens always a normal window and an incognito one, the second one is automated.

I didnt find much about incognito mode on the web nor grepping the distribution

3) tabs: I understood that tab => "Title of The Tab" in the constructor is meant to connect to a previously open tab. But how if every instance of chrome/chromium has to be shutdown before mechanize it? See here too

Short answers are welcome too. I mean I fear to not understand too much under the hood details ;)

My setup:

windows 7 strawberry perl portable 5.24.1 PATH=C:\ulisse\perl5.24-64b\perl\site\bin;C:\ulisse\perl5.24-64b\perl\ +bin;C:\ulisse\perl5.24-64b\c\bin;C:\ulisse\bin\UnxUtils\usr\local\wbi +n;C:\Windows;C:\Windows\system32; chrome version 81.0.4044.129 (Build ufficiale) (a 64 bit) chromium Versione 84.0.4135.0 (Build) (a 64 bit) perl -MWWW::Mechanize::Chrome -e "print $WWW::Mechanize::Chrome::VERSI +ON" 0.48 perl -MIO::Async -e "print $IO::Async::VERSION" 0.75 # fails test (forced installation) see my report at http://www.cpantes +ters.org/cpan/report/7a39b6be-6c02-1014-bdb8-3bd4031ef651

Thanks!

L*

There are no rules, there are no thumbs..
Reinvent the wheel, then learn The Wheel; may be one day you reinvent one of THE WHEELS.

In reply to some doubts on my first steps with WWW::Mechanize::Chrome by Discipulus

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.