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: 
Few things. 

Which operating system are you using **32-bit** or **64-bit**? 

1. make sure the driver (gecko or chrome any other) you have downloaded is as per your operating system.
2. Try to run them from command line to see what's happening.
3. if you are using linux, make sure driver has proper permission
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.