Chrome failing to create directory in order to unpack extensions

618 views
Skip to first unread message

sherryle...@gmail.com

unread,
Sep 1, 2016, 8:47:43 AM9/1/16
to ChromeDriver Users
Hi,

I am facing the current problem. I have a Bamboo remote service agent running on a dev server using the local system account. I have attempted to change the custom profile for Chrome since it was trying to get User Data from my user profile account and I want my automated tests to be independent of my user.

I've done this by applying the following code in Java.

chromeOptions.addArgument("user-data-dir=D:\temp");

However, I have now encountered another error which is this one

build 01-Sep-2016 14:40:08 org.openqa.selenium.WebDriverException:
build 01-Sep-2016 14:40:08 unknown error: cannot create temp dir for unpacking extensions

I cannot understand which argument you can possibly pass for the extensions to be unpacked. Could you please help me out and explain to me why and which commands I can use to overcome this problem?

Thanks!
Sher

Reply all
Reply to author
Forward
0 new messages