1

Topic: Why at browser Google Chrome discovery the browser without (selenium extensions opens?

IS AVAILABLE
Google Chrome Portable (portable) which is allocated in a folder
c:\soft\UD\GoogleChromePortable\1_1\GoogleChromePortable_1.exe
On it extensions are installed: Site Geo IP Locator;
The screenshot http://prntscr.com/c8vkn5 see
At start the PROJECT 1 on C# (with usage selenium, WebDriver.dll, chromedriver.exe) opens browser Google Chrome Portable in which the extension "Chrome Automation Extension" which I did not install is installed only.
The project scenario:
1. To open browser Google Chrome Portable which is on the way c:\soft\UD\GoogleChromePortable\1_1\GoogleChromePortable_1.exe;
2. To open a search engine (google.com);
3. To enter a word for search;
4. To carry out search;
QUESTION
1. Why when we launch the PROJECT 1 on C# which under the scenario opens browser Google Chrome Portable, in the browser the extension "Chrome Automation Extension" which I did not install is installed only, and the installed extension is not present?
chrome://extensions/
The screenshot http://prntscr.com/c8r3lm see
APPLICATION.
1. GoogleChromePortable.rar - https://yadi.sk/d/P5YwafKTuPbCq
2. _exe.rar - https://yadi.sk/d/xKhCLA4LuPevA
3. _.rar - https://yadi.sk/d/RUOpjj64uPexY
FOR PROJECT START IT IS REQUIRED TO FULFIL THE FOLLOWING:
1. APPLICATION 1 (GoogleChromePortable.rar) to dearchive and allocate on a disk "C"
That files were on following ways accordingly:
1. The file GoogleChromePortable_1.exe - was on the way
c:\soft\UD\GoogleChromePortable\1_1\GoogleChromePortable_1.exe
I.e. a folder "soft" simply to allocate on a disk c:\

2

Re: Why at browser Google Chrome discovery the browser without (selenium extensions opens?

Sof159;
I apply the code

using System;
using System. Collections. Generic;
using System. ComponentModel;
using System. Data;
using System. Drawing;
using System. Linq;
using System. Text;
using System. Threading. Tasks;
using System. Windows. Forms;
using OpenQA.Selenium;
//****//
using System. Diagnostics;
//****//
namespace WindowsFormsApplication1
{
public partial class Form1: Form
{
IWebDriver Browser;
public Form1 ()
{
InitializeComponent ();
}
private void button1_Click (object sender, EventArgs e)
{
OpenQA.Selenium. Chrome. ChromeOptions co = new OpenQA.Selenium. Chrome. ChromeOptions ();
//****//
co. BinaryLocation = "c:\soft\UD\GoogleChromePortable\1_1\GoogleChromePortable_1.exe";
//****//
Browser = new OpenQA.Selenium. Chrome. ChromeDriver (co);
Browser. Manage ().Window. Maximize ();
Browser. Navigate ().GoToUrl ("http://google.com");
IWebElement SearchInput = Browser. FindElement (By. Id ("lst-ib"));
SearchInput. SendKeys ("the project of houses" + OpenQA.Selenium. Keys. Enter);
}
private void button2_Click (object sender, EventArgs e)
{
}
}
}