Question: I'm currently facing an issue in updating a value in the DOM.

To explain it quickly and as simple as possible, I currently have two components (A and B). B inherits from A, uses A's view as template but also inject its template into A (ng-content) so B's view is like:

```
<A>
   <template>
      <div *ngFor="let item of items" (click)="selected($event, item)">
          <span>{{item.name}}<span>
      </div>
   </template>
</A>

```

And A's view is like :

```
<ng-content select="template"></ng-content>
<div *ngIf="searching">Hey I'm looking for answer</div>
<div *ngIf="!searching">I already have my answer</div>

```

The component B has only one private variable which is the array of items and A's component has one specific method called by B which is :

```
private searching: boolean = true;

selected(event, value: any): void {
   event.stopPropagation();
   this.searching = false; // This.searching is updated in component but not in DOM
   this.selectedItem = value; // BUT this.selectedItem is updated in component AND in DOM !!
}

```

Changing this.selectedItem works, but this.searching doesn't therefore only "Yes" is displayed since searching is always TRUE.

Here is the [plunkr](https://plnkr.co/edit/DP7K5Q63kEqXmQbRA98I?p=preview).

Can someone enlighten me please ? Thank you.

Answer: 
1- download latest firefox or chrome driver  

2- please update your selenium server dependency, it seems your selenium stand-alone.jar is not compatible with your browser version.
download selenium server latest jar from [here](http://www.seleniumhq.org/download/)
or add below maven dependency in your POM

```
<dependency>
        <groupId>org.seleniumhq.selenium</groupId>
        <artifactId>selenium-server</artifactId>
        <version>3.4.0</version>
    </dependency>

```

please let me know if it solve your issue : )
For Google Chrome, you may try this code:

```
public class FSO_CheckCase {
    WebDriver driver;
@BeforeTest     
public void setup ()
{          
System.setProperty("webdriver.chrome.driver", "*path*\\chromedriver.exe");
ChromeOptions options = new ChromeOptions();
options.addArguments("test-type");
options.addArguments("start-maximized");
options.addArguments("--js-flags=--expose-gc");  
options.addArguments("--enable-precise-memory-info"); 
options.addArguments("--disable-popup-blocking");
options.addArguments("--disable-default-apps");
options.addArguments("test-type=browser");
options.addArguments("disable-infobars");
driver = new ChromeDriver(options);               
driver.manage().deleteAllCookies();
} 

@Test(priority = 0)     
public void Google () throws InterruptedException    
{
driver.navigate().to("http://google.com");
driver.manage().timeouts().implicitlyWait(5, TimeUnit.SECONDS);
}

```

If this works, same code can be used for `FireFox`. Be careful while you mention path where you have saved `chromedriver.exe` and `Geckodriver.exe`. Let me know if it still creates problem for you.