Skip to content

Commit

Permalink
updated session code and added some develop files
Browse files Browse the repository at this point in the history
develop files are to test if we can grab javascripts errors unload. no
luck so far.
  • Loading branch information
camme committed Jun 2, 2012
1 parent 7d3aa67 commit 790ee81
Show file tree
Hide file tree
Showing 5 changed files with 32 additions and 7 deletions.
11 changes: 11 additions & 0 deletions develop/develop.js.error.js
@@ -0,0 +1,11 @@
var client = require("webdriverjs").remote();

client
.init()
.url("http://wdjstest.local/jserror.html")
.session(function(result) {
console.log(result);
})
//.end();


12 changes: 6 additions & 6 deletions node_modules/webdriverjs/lib/protocol/session.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 0 additions & 1 deletion node_modules/webdriverjs/lib/protocol/url.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Binary file not shown.
15 changes: 15 additions & 0 deletions testsite-www/jserror.html
@@ -0,0 +1,15 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8" />
<title>Test js error on load</title>
<script type="text/javascript" charset="utf-8">

var a = b / s;

</script>
</head>
<body>
<h1>Test js error on load</h1>
</body>
</html>

0 comments on commit 790ee81

Please sign in to comment.