html - Iterate through nested classes in WWW::Selenium -
is there method in www::selenium allow me iterate through structure (html code) , access hrefs?
<div class="mygengo_wrap full_width"> <h1>dashboard</h1> <div class="blue list"> <span class="title">sections </span> <span class="dashboard_master_language"> <span class="dashboard_language wide"> <a href="http://mygengo.com/string/p/demoproject-1/admin/languages/settings/en_us">englisch (master) </a> </span> </span> <span class="dashboard_languages"> <span class="dashboard_language wide"> <a href="http://mygengo.com/string/p/demoproject-1/admin/languages/settings/zh_cn">chinese </a> </span> <span class="dashboard_language wide"> <a href="http://mygengo.com/string/p/demoproject-1/admin/languages/settings/de_de">german </a> </span> </span> ... ... </div>
there get_all_links method - see documentation.
Comments
Post a Comment