|
@@ -41,9 +41,9 @@ def process_query(q):
|
|
|
webdriver.ActionChains(driver).move_to_element(elmt).perform()
|
|
|
webdriver.ActionChains(driver).move_to_element(elmt).click().perform()
|
|
|
break
|
|
|
- fw=codecs.open('c:/tmp/gg.html','w','utf-8')
|
|
|
- fw.write(driver.page_source)
|
|
|
- fw.close()
|
|
|
+# fw=codecs.open('c:/tmp/gg.html','w','utf-8')
|
|
|
+# fw.write(driver.page_source)
|
|
|
+# fw.close()
|
|
|
|
|
|
# driver.save_screenshot("c:/tmp/screen.png")
|
|
|
# os.startfile("c:/tmp/screen.png")
|