Make assertions about every location property:
Then I see location
| hash | #hash |
| host | localhost:8081 |
| hostname | localhost |
| href | http://localhost:8081/commands/querying?key=value#hash |
| origin | http://localhost:8081 |
| pathname | /commands/querying |
| port | 8081 |
| protocol | http: |
| search | ?key=value |
Check location for query params and pathname:
Then I see location
| search | ?key=value |
| pathname | /commands/querying |
Then I see location: