FAQ
Selenium WebDriver is looking good on Windows 8 for IE10, FF16, and Opera
12 so far. I'm having an issue with Chrome 22 where it shows a modal
dialog that wants the user to choose a default browser (see screenshot).
It says "Chrome is almost ready".

I've tried launching chrome via WebDriver with many command line flags,
like "--no-first-run","--make-deafult-browser","--disable-default-apps" to
no avail.

If I launch Chrome by clicking the shortcut, it does not ask this question,
because it was already answered. This make me think that Chrome uses a
temporary profile that does not copy this flag from the user profile. I've
also tried setting the --user-data-dir to point to the user's default
profile, as well as the command line option for --profile-directory. The
ChromeDriver wiki says that you cannot use custom profiles so not sure if
I'm headed the wrong way with that attempt.

I am wondering if I am not pointing the --user-data-dir or
--profile-directory flags to the right profile user profile (so it acts
like the logged in user's and not a fresh install).

Any ideas on approaches to using WebDriver to launch Chrome on Windows 8
without getting this message?

--
You received this message because you are subscribed to the Google Groups "webdriver" group.
To view this discussion on the web visit https://groups.google.com/d/msg/webdriver/-/J2tD330i2MYJ.
To post to this group, send email to webdriver@googlegroups.com.
To unsubscribe from this group, send email to webdriver+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/webdriver?hl=en.

Search Discussions

  • Lukus at Nov 2, 2012 at 8:07 pm
    Forgot the screenshot attachment of course :}
    On Friday, November 2, 2012 3:06:55 PM UTC-5, Lukus wrote:

    Selenium WebDriver is looking good on Windows 8 for IE10, FF16, and Opera
    12 so far. I'm having an issue with Chrome 22 where it shows a modal
    dialog that wants the user to choose a default browser (see screenshot).
    It says "Chrome is almost ready".

    I've tried launching chrome via WebDriver with many command line flags,
    like "--no-first-run","--make-deafult-browser","--disable-default-apps" to
    no avail.

    If I launch Chrome by clicking the shortcut, it does not ask this
    question, because it was already answered. This make me think that Chrome
    uses a temporary profile that does not copy this flag from the user
    profile. I've also tried setting the --user-data-dir to point to the
    user's default profile, as well as the command line option for
    --profile-directory. The ChromeDriver wiki says that you cannot use custom
    profiles so not sure if I'm headed the wrong way with that attempt.

    I am wondering if I am not pointing the --user-data-dir or
    --profile-directory flags to the right profile user profile (so it acts
    like the logged in user's and not a fresh install).

    Any ideas on approaches to using WebDriver to launch Chrome on Windows 8
    without getting this message?
    --
    You received this message because you are subscribed to the Google Groups "webdriver" group.
    To view this discussion on the web visit https://groups.google.com/d/msg/webdriver/-/CkcqHykLvAgJ.
    To post to this group, send email to webdriver@googlegroups.com.
    To unsubscribe from this group, send email to webdriver+unsubscribe@googlegroups.com.
    For more options, visit this group at http://groups.google.com/group/webdriver?hl=en.

Related Discussions

Discussion Navigation
viewthread | post
Discussion Overview
groupwebdriver @
categorieswatir
postedNov 2, '12 at 8:06p
activeNov 2, '12 at 8:07p
posts2
users1
websitewatir.com

1 user in discussion

Lukus: 2 posts

People

Translate

site design / logo © 2017 Grokbase