Skip to content
This repository has been archived by the owner on Dec 16, 2023. It is now read-only.

Commit

Permalink
FIXED show localhost example with log instead of console
Browse files Browse the repository at this point in the history
  • Loading branch information
assaf committed Apr 23, 2015
1 parent ec6b2f3 commit 0e29bdf
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -188,8 +188,9 @@ do this:
```js
Browser.localhost('example.com', 3000)
browser.visit('/path', function() {
assert(browser.location.href == 'http://example.com/path');
console.log(browser.location.href);
});
=> 'http://example.com/path'
```

The first time you call `Browser.localhost`, if you didn't specify
Expand Down

0 comments on commit 0e29bdf

Please sign in to comment.