Open GoogleCodeExporter opened 9 years ago
[deleted comment]
[deleted comment]
[deleted comment]
sorry for my eng i`m is Ukrain user.
i try a ^
selenium.addArgument "--app-shell-install-crx=" & "gighmmpiobklfepjocnamgkkbiglidom"
selenium.addArgument "--load-extension=" & ThisWorkbook.Path & "\" & "adblockpluschrome-1.8.7.1271.crx"
for add AdBlock
but extension not loaded in driver after start
At last i try : selenium.addExtension ThisWorkbook.Path & "\" &
"adblockpluschrome-1.8.7.1271.crx"
and this add extention Ty
Original comment by ivaniu...@gmail.com
on 29 Nov 2014 at 6:31
The working directory is not the folder of the workbook
You need to use a full path instead:
Dim driver As New SeleniumWrapper.WebDriver
driver.addExtension "C:\Documents and Settings\admin\My
Documents\Downloads\extension_2_14_4.crx"
driver.start "chrome", "http://news.yahoo.com"
driver.open "/science"
A faster way would be to use a customized profile:
Dim driver As New SeleniumWrapper.WebDriver
driver.addArgument "--user-data-dir=C:\profile folder"
driver.start "chrome", "http://news.yahoo.com"
driver.open "/science"
Original comment by florentbr
on 1 Dec 2014 at 9:38
Original issue reported on code.google.com by
ivaniu...@gmail.com
on 29 Nov 2014 at 2:44