import {LocalServer} from '@serenity-js/local-server/lib/screenplay/questions'
public class | source

LocalServer

Static Method Summary

Static Public Methods
public static

port(): Question<number>

Retrieves the port number of the local server started using the StartLocalServer Interaction.

public static

url(): Question<string>

Retrieves the URL of the local server started using the StartLocalServer Interaction.

Static Public Methods

public static port(): Question<number> source

Retrieves the port number of the local server started using the StartLocalServer Interaction.

Returns:

Question<number>

public static url(): Question<string> source

Retrieves the URL of the local server started using the StartLocalServer Interaction.

Returns:

Question<string>