Skip to content

Fixes #314 : Removed Redundant Line in baseUrl Definition - #341

Open
rahulptl165 wants to merge 1 commit into
nightwatchjs:versions/3.0from
rahulptl165:Fixes#314
Open

Fixes #314 : Removed Redundant Line in baseUrl Definition#341
rahulptl165 wants to merge 1 commit into
nightwatchjs:versions/3.0from
rahulptl165:Fixes#314

Conversation

@rahulptl165

Copy link
Copy Markdown

Fixes #314

Description

This PR resolves an issue in the API documentation where the baseUrl section contained a redundant return line. The updated documentation ensures clarity and eliminates unnecessary repetition.

Changes Made

  • Updated the baseUrl documentation to be concise and removed the redundant line.

Before

#### isOpera

  Type: function isOpera(): boolean

  Returns true|false whether or not the browser used is Opera.

#### baseUrl

  Type: string

  Returns true|false whether or not the browser used is Opera.

After

#### isOpera

  Type: function isOpera(): boolean

  Returns true|false whether or not the browser used is Opera.

#### baseUrl

  Type: string

 The value of `baseUrl` as defined in the Nightwatch config and which will be used as the default url for the command `.init()`.
  Other aliases are: `base_url`, `launch_url`, or `launchUrl`.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Redundant Line in baseUrl Definition

1 participant