loggedIn: boolean = (localStorage.getItem("isLoggedIn") === 'true') || false
options = webdriver.ChromeOptions()
options.add_argument("--headless")
options.add_argument("--disable-gpu")
capabilities = options.to_capabilities()
driver = webdriver.Remote( \
command_executor='http://127.0.0.1:4444/wd/hub', \
desired_capabilities=capabilities)
getPeople() : Observable<FullModel[]>{
return this.http.get<FullModel[]>('http://localhost:3000/global')
}
myArr: FullModel[];
getPeople().subscribe(data => myArr = data )
@Value("#{'${my.list.of.strings}'.split(',')}")
private List<String> myList;
my.list.of.strings=ABC,CDE,EFG
<div [ngClass]="{'windows': true, 'draggable': isDraggable}">
<div id='title' (onmouseover)="isDraggable=true" (onmouseout)="isDraggable=false">Title</div>
<div id='content'>Content</div>
</div>
isDraggable = false
driver
.SwitchTo()
.Frame(driver.FindElement(By.Xpath("//frame[@id='alibaba-login-box']")))