Skip to navigation

goTo

Referenced In

Fields

FieldTypeDescriptionDefault
goToone of:
- string
- object(Go to URL (detailed))
Required. No description provided.—

Examples

{
"goTo": "https://www.google.com"
}
{
"goTo": "/search"
}
{
"goTo": {
"url": "https://www.google.com"
}
}
{
"goTo": {
"url": "/search",
"origin": "https://www.google.com"
}
}
{
"goTo": {
"url": "/dashboard",
"origin": "https://my-app.com",
"params": {
"__clerk_testing_token": "$CLERK_TESTING_TOKEN"
}
}
}
{
"goTo": {
"url": "https://www.example.com",
"waitUntil": {
"networkIdleTime": 500
}
}
}
{
"goTo": {
"url": "https://www.example.com/dashboard",
"waitUntil": {
"find": {
"selector": "[data-testid='dashboard-loaded']"
}
}
}
}
{
"goTo": {
"url": "https://www.example.com/app",
"timeout": 60000,
"waitUntil": {
"networkIdleTime": 500,
"domIdleTime": 1000,
"find": {
"selector": ".main-content",
"elementText": "Dashboard"
}
}
}
}
{
"goTo": {
"url": "https://www.example.com/app",
"timeout": 60000,
"waitUntil": {
"networkIdleTime": 0
}
}
}
{
"goTo": {
"url": "https://www.example.com/status",
"waitUntil": {
"find": {
"elementText": "System operational"
}
}
}
}
{
"goTo": {
"url": "/checkout",
"origin": "https://my-app.com",
"newTab": "cart"
}
}
{
"goTo": {
"url": "/admin",
"origin": "https://my-app.com",
"newWindow": {
"name": "admin",
"tab": "overview"
}
}
}
{
"goTo": {
"url": "/orders",
"origin": "https://my-app.com",
"surface": {
"browser": "chrome",
"window": "admin",
"tab": "overview"
}
}
}
{
"goTo": {
"url": "http://localhost:8092",
"waitUntil": {
"find": {
"selector": "button",
"elementText": "Standard Button",
"elementTestId": "standard-btn",
"elementAria": "Sample Standard Button",
"elementId": "standard-btn",
"elementClass": [
"btn"
],
"elementAttribute": {
"type": "button",
"value": "Standard Button"
}
}
}
}
}