You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
System.NullReferenceException: Object reference not set to an instance of an object.
at canopy.core.suggestOtherSelectors$cont@192(String cssSelector, Unit unitVar) in C:\projects\canopy\src\canopy\canopy.fs:line 192
at canopy.core.findByFunction[a,b,c](String cssSelector, a timeout, FSharpFunc`2 waitFunc, b searchContext, Boolean reliable) in C:\projects\canopy\src\canopy\canopy.fs:line 273
at canopy.core.unreliableElements(String cssSelector) in C:\projects\canopy\src\canopy\canopy.fs:line 307
at canopy.core.someElement(String cssSelector) in C:\projects\canopy\src\canopy\canopy.fs:line 333
at [email protected](Unit unitVar0) in C:\dev\tradera\EndToEndTests\Program.fs:line 26
at [email protected](Unit unitVar)
at [email protected](AsyncParams`1 args)
Repro:
ftestCase "create a new draft"<|fun()->
start firefox
url "https://tradera.com"
someElement "button[aria-label='Meny']"|> Option.iter click
click "a[aria-label='Skapa annons']"
The text was updated successfully, but these errors were encountered:
I wasn't able to reproduce this, but given then stacktrace I put fixes in for the two places that may have a null ref. You can download the latest package here:
https://github.com/lefthandedgoat/canopy/blob/master/src/canopy/canopy.fs#L192
Repro:
The text was updated successfully, but these errors were encountered: