Your Name 4 years ago
parent
commit
04549dcb7a
1 changed files with 5 additions and 1 deletions
  1. 5 1
      tests/seltest.py

+ 5 - 1
tests/seltest.py

@@ -6,7 +6,11 @@ jb=browser_common.JBrowser()
 jb.set_profile_path('"/home/jared/.config/google-chrome/"')
 
 #jb.get('http://www.yahoo.com.tw')
-jb.get('https://data.similarweb.com/api/v1/data?domain=hhh.com.tw')
+#jb.get('https://data.similarweb.com/api/v1/data?domain=hhh.com.tw')
+jb.get('https://data.similarweb.com/api/v1/data?domain=yahoo.com.tw')
 
 
+driver=jb.get_driver()
 
+src=driver.page_source
+print(src)