Example:
By.xpath("//*[@id="ext-gen1035"]/div/div[3]/i")
You can also use single quotes:
By.xpath("//*[@id='ext-gen1035']/div/div[3]/i")
Or do double quotes with backslash:
By.xpath("//*[@id=\"ext-gen1035\"]/div/div[3]/i")
Source: https://habr.com/ru/post/1246637/More articles:Why is Default not implemented for Mutex, RWLock, CondVar, Duration? - rustGA: How to access Cohort Analysis through the Google Analytics API? - analyticsIf the statement is always true with an enumeration in comparison - enumssequence of monthly identification dates on the same day or last day of the month in case of invalidity - rNode.JS - any side effects of oversized oversize? - memory-managementHigh Disk I / O on Cassandra Nodes - cassandraAppium xpath accelerating apostrophes - javaAngular 2 fire events after ngFor - javascriptHow can I execute the code only after my opinion has changed (with its ngFors, etc.)? - angularInheritance and copy constructor - how to initialize private fields from a base class? - c ++All Articles