From 425690fa7ffcdf2a950c66694f10334f9ce2ef26 Mon Sep 17 00:00:00 2001 From: Krishna Parmar <201901155@daiict.ac.in> Date: Wed, 27 Mar 2024 11:31:11 +0530 Subject: [PATCH] #293 Fix Webdriver Spec --- postdoc.config.js | 6 ++++-- src/includes/api-method.ejs | 2 +- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/postdoc.config.js b/postdoc.config.js index 1cb9bbda..22aa08ac 100644 --- a/postdoc.config.js +++ b/postdoc.config.js @@ -6,7 +6,8 @@ const { BASE_URL = 'https://nightwatchjs.org', MD_DOCS_FOLDER = './docs', API_DOCS_FOLDER = resolve('../nightwatch/lib/api'), - EXAMPLES_FOLDER = 'node_modules/nightwatch-examples/tests' + EXAMPLES_FOLDER = 'node_modules/nightwatch-examples/tests', + WEBDRIVER_SPEC = 'https://www.w3.org/TR/webdriver', } = env; export default { @@ -87,6 +88,7 @@ export default { appSettings: { version: NIGHTWATCH_VERSION, baseUrl: BASE_URL, + webdriverSpec : WEBDRIVER_SPEC, apiRepoUrl: 'https://github.com', githubRepo: 'nightwatchjs/nightwatch', docsRepoUrl: 'https://github.com/nightwatchjs/nightwatch-docs/blob/', @@ -102,4 +104,4 @@ export default { logger: { quiet: false } -}; +}; \ No newline at end of file diff --git a/src/includes/api-method.ejs b/src/includes/api-method.ejs index 71d3bcca..a2f682a4 100644 --- a/src/includes/api-method.ejs +++ b/src/includes/api-method.ejs @@ -143,7 +143,7 @@ npx nightwatch <%- method.exampleLink %> <% if (method.link) { %>