Skip to content

Commit

Permalink
Adding headless how-to
Browse files Browse the repository at this point in the history
  • Loading branch information
Matt Gaunt committed Aug 23, 2017
1 parent 4f4d0a2 commit 741f998
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions docs/how-tos/use-headless-chrome.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
---
layout: index
title: "Use Headless Chrome"
navigation_weight: 1
---
It's possible to use headless Chrome by setting a simple option.

```javascript
const chromeBrowser = seleniumAssistant.getLocalBrowser('chrome', 'stable');
const options = chromeBrowser.getSeleniumOptions();
options.addArguments('--headless');
```

You can learn more [here](https://developers.google.com/web/updates/2017/04/headless-chrome).

0 comments on commit 741f998

Please sign in to comment.