Skip to content

Wait for alert keyword fails at wait for promise  #1980

@IDvoe

Description

@IDvoe

With Browser 12.3.0, when verifying the step wait for ${promsie} fails with this error 'str' object has no attribute 'name'

To Reproduce
Steps to reproduce the behavior:

Test to check alert
    [Arguments]    ${locator}    ${action}    ${text}
    ${promise}    promise to    wait for alert    action=${action}    text=${text}
    click    ${locator}
    wait for    ${promise}    # this is where it fails with  'str' object has no attribute 'name' 

Expected behavior
wait for alert should not fail

Screenshots
Stack trace screenshot
image

Desktop (please complete the following information):

  • OS: iOS (BigSur, intel core)
  • Browser: chrome
  • Version [e.g. 22]

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions