in reply to WWW::Mechanize::Chrome Created Using incognito windows by default

A quick test of your code and I can replicate the issue you find, however removing separate_session => 1 results in a normal window opening. Running your code as is actually spawns two Chrome windows, the one at the forefront is an incognito window, the one behind is not. I'd start digging around the WWW::Mechanize::Chrome source, examining the config/launch parts.

  • Comment on Re: WWW::Mechanize::Chrome Created Using incognito windows by default
  • Download Code