jBrowserDriver基于 WebKit 无图形化浏览器
jBrowserDriver 是一款采用纯 Java 编写的无图形化浏览器,基于 WebKit,和 Selenium 兼容。
通过Maven安装:
<dependency> <groupId>com.machinepublishers</groupId> <artifactId>jbrowserdriver</artifactId> <version>0.16.1</version> </dependency>
使用示例代码:
import org.openqa.selenium.WebDriver; import com.machinepublishers.jbrowserdriver.Timezone; import com.machinepublishers.jbrowserdriver.JBrowserDriver; import com.machinepublishers.jbrowserdriver.Settings; public class Example { public static void main(String[] args) { // You can optionally pass a Settings object here, // constructed using Settings.Builder JBrowserDriver driver = new JBrowserDriver(Settings.builder(). timezone(Timezone.AMERICA_NEWYORK).build()); // This will block for the page load and any // associated AJAX requests driver.get("http://example.com"); // You can get status code unlike other Selenium drivers. // It blocks for AJAX requests and page loads after clicks // and keyboard events. System.out.println(driver.getStatusCode()); // Returns the page source in its current state, including // any DOM updates that occurred after page load System.out.println(driver.getPageSource()); // Close the browser. Allows this thread to terminate. driver.quit(); } }
评论
Jabba-Webkit无图形化 WebKit 浏览器
Jabba-Webkit是一款无图形化WebKit浏览器,主要用来抓取Ajax网页。作为库引用:>>> import jabba_webkit as jw>>> h
Jabba-Webkit无图形化 WebKit 浏览器
0
Jabba-Webkit无图形化 WebKit 浏览器
Jabba-Webkit是一款无图形化 WebKit 浏览器,主要用来抓取Ajax网页。作为库引用:
Jabba-Webkit无图形化 WebKit 浏览器
0
Headless-Browser基于WebKit 无界面浏览器
Headless-Browser是一款采用C++开发的基于WebKit无界面浏览器。安装:git clone git://github.com/alexandernst/headless_browse
Headless-Browser基于WebKit 无界面浏览器
0
Headless-Browser基于WebKit 无界面浏览器
Headless-Browser 是一款采用C++开发的基于WebKit 无界面浏览器。安装:git
Headless-Browser基于WebKit 无界面浏览器
0
Erik基于 WebKit 的无界面浏览器
Erik是一款基于WebKit的无界面浏览器,可用于功能函数的测试,使用JavaScript对网页进行操作访问。示例(使用Google搜索):let url = NSURL(string:"https
Erik基于 WebKit 的无界面浏览器
0
torora基于 WebKit 的浏览器
torora是一款架构于WebKit的浏览器,该软件会自动使用Tor访问被限制的网站。在Windows下的编译方法请看这里。
torora基于 WebKit 的浏览器
0