Share this page

# TC.getUserIP

Returns the IP address when IP spoofing is enabled, and the script is running in load mode in Controller.

    TC.getUserIP();

## Arguments

None

## Return value

A promise that is fulfilled with a string, which is the IP address.

## Example

Copy code

    (async ()=>{
        let ip = await TC.getUserIP();
    })();

Tips to improve your search results... VuGen Function Reference Version 25.1-25.3 Function Reference 25.1-25.3 All View Local Help Center View Online Help Center Version: