Find elements using css selector/xpath of Selenium Webdriver with Ruby
问题 I have recently started using Selenium to test an app having webviews. Well the code for my webview is: <div class="class1 class2 class3 class4" style="padding: 4px;" id="_6bd7b91a-214c-4075-b7db-dcaa08155e1a"> <span class="class5" style="font-weight: bold; text-decoration: underline;">This is TITLE</span> <div class="class6" dd:contenttype="content_type1" dd:concept="TITLE" id="_1d8c4490-d0c1-42ed-a93e-e92ca570dd32"> <div class="class7"> I am writing a re-usable code to find the element for