diff --git a/docs/api/expect/_cookie.md b/docs/api/expect/_cookie.md
deleted file mode 100644
index 29f435e..0000000
--- a/docs/api/expect/_cookie.md
+++ /dev/null
@@ -1,43 +0,0 @@
-
expect.cookie()
-
-
-Expect assertions operating on a single cookie after retrieving the entire cookie string, using `.getCookies()`.
-
-
Syntax:
-
-
browser.expect.cookie('cookie-name', ['cookie-domain'])
-
-
-
-
this.demoTest = function (browser) {
- browser.expect.cookie('cookie-name').to.contain('cookie-value');
- browser.expect.cookie('cookie-name').to.match(/regex/);
- browser.expect.cookie('loginCookie', 'example.org').to.contain('cookie-value');
-};
-
-
-
Parameters:
-
-
-
-
- | Name |
- Type |
- description |
-
-
-
-
- name |
- String |
- The name of the cookie to be inspected. |
-
-
- domain Optional |
- String |
- The domain name on which the cookie is set to. |
-
-
-
-
-
\ No newline at end of file
diff --git a/docs/api/expect/_title.md b/docs/api/expect/_title.md
deleted file mode 100644
index 82ed7a7..0000000
--- a/docs/api/expect/_title.md
+++ /dev/null
@@ -1,14 +0,0 @@
-expect.title()
-
-
-
-Retrieves the page title value in order to be used for performing `equal`, `match` or `contains` assertions on it.
-
-
Usage:
-
-
this.demoTest = function (browser) {
- browser.expect.title().to.contain('value');
- browser.expect.title().to.match(/value/);
-};
-
-
\ No newline at end of file
diff --git a/docs/api/expect/_url.md b/docs/api/expect/_url.md
deleted file mode 100644
index e6e51b9..0000000
--- a/docs/api/expect/_url.md
+++ /dev/null
@@ -1,13 +0,0 @@
-expect.url()
-
-
-Retrieves the page url value in order to be used for performing `equal`, `match` or `contains` assertions on it.
-
-
Usage:
-
-
this.demoTest = function (browser) {
- browser.expect.url().to.contain('https://');
- browser.expect.url().to.endWith('.org');
-};
-
-
\ No newline at end of file
diff --git a/docs/api/expect/index.md b/docs/api/expect/index.md
index 29f7492..09d1eb3 100644
--- a/docs/api/expect/index.md
+++ b/docs/api/expect/index.md
@@ -98,7 +98,52 @@ These methods will perform assertions on the specified target on the current ele
-<%- include('./_cookie.md') %>
+
+expect.cookie()
+
+
+Expect assertions operating on a single cookie after retrieving the entire cookie string, using `.getCookies()`.
+
+
Syntax:
+
+
browser.expect.cookie('cookie-name', ['cookie-domain'])
+
+
+
+
this.demoTest = function (browser) {
+ browser.expect.cookie('cookie-name').to.contain('cookie-value');
+ browser.expect.cookie('cookie-name').to.match(/regex/);
+ browser.expect.cookie('loginCookie', 'example.org').to.contain('cookie-value');
+};
+
+
+
Parameters:
+
+
+
+
+ | Name |
+ Type |
+ description |
+
+
+
+
+ name |
+ String |
+ The name of the cookie to be inspected. |
+
+
+ domain Optional |
+ String |
+ The domain name on which the cookie is set to. |
+
+
+
+
+
+
+
expect.element()
@@ -120,5 +165,32 @@ These methods will perform assertions on the specified target on the current ele
### Assertions:
- [count()](/api/expect/elements/count.html)
-<%- include('./_title.md') %>
-<%- include('./_url.md') %>
\ No newline at end of file
+expect.title()
+
+
+
+Retrieves the page title value in order to be used for performing `equal`, `match` or `contains` assertions on it.
+
+
Usage:
+
+
this.demoTest = function (browser) {
+ browser.expect.title().to.contain('value');
+ browser.expect.title().to.match(/value/);
+};
+
+
+
+
+expect.url()
+
+
+Retrieves the page url value in order to be used for performing `equal`, `match` or `contains` assertions on it.
+
+
Usage:
+
+
this.demoTest = function (browser) {
+ browser.expect.url().to.contain('https://');
+ browser.expect.url().to.endWith('.org');
+};
+
+
\ No newline at end of file