Welcome to the Treehouse Community

Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.

Start your free trial

Quality Assurance

Peggy Sturman
Peggy Sturman
3,298 Points

In First Video After Running the Build Command Chrome Launches and Says Using Unsupported Command Line Flag

I am running into a new error:

After entering the command:

const driver = new selenium.Builder().forBrowser("chrome").build();

A new Chrome instances launches and it tells me I'm using an unsupported command line flag --ignore-certificate-errors. I get a popup to disable Dev. mode extensions. I have one and I delete it. I also have gone to //flags and did a reset. I've been Googling and am stuck. I asked a question previously and I added my Path and copied webdriver to my working folder from the Selenium site. That got me to this point.

I really appreciate any help anyone might have. I've never used Node before so it i new to me, although does not seem difficult.

4 Answers

Jennifer Nordell
seal-mask
STAFF
.a{fill-rule:evenodd;}techdegree
Jennifer Nordell
Treehouse Teacher

Hi there! While I didn't run into this particular problem I've read that you can add --test-type to the end of your command and it might suppress that message. Take a look at this thread.

If you are concerned that you're not seeing anything on the page, make sure that the URL that you've copied from your workspace starts with https and not http. I ran into this when doing this course and spent a few minutes pondering why I couldn't see anything until I realized that it wanted the traffic to be over https.

Let me know if any of this helped! :sparkles:

Peggy Sturman
Peggy Sturman
3,298 Points

Thanks for the response Jennifer. I'll check out your suggestions tomorrow when I will have a chunk of time to work on this.

Are you on a Mac or Windows? I'm on Windows 10 Professional.

Jennifer Nordell
seal-mask
.a{fill-rule:evenodd;}techdegree
Jennifer Nordell
Treehouse Teacher

Both. I have a system with Windows 10 pro and a Mac mini running the latest macOS. But definitely make sure that URL starts with https :smiley:

Peggy Sturman
Peggy Sturman
3,298 Points

I am certain my URL did, but I will double check. I'm double-checking everything at this point. :-)

I'm curious when you did the course did you do it on the Mac or Windows?

Peggy Sturman
Peggy Sturman
3,298 Points

I tried all the suggestions referenced in the link above and it made no difference. I am very frustrated. I have been researching on my own and still cannot get this to work correctly. I really need more help.