gemini-testing / gemini-testing/testplane

Result of browser.url

Open
#1,294 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
TypeScript
Stars
830
Forks
76
Avg merge
4d 10h
Merged PRs (30d)
14

Description

### Contribution

- [ ] I'd be willing to implement this feature ([contributing guide](https://github.com/gemini-testing/testplane/blob/master/CONTRIBUTING.md))

### Describe the user story

Есть необходимость написать тест с проверкой заголовков ответа и цепочки редиректов.

### Describe the solution you'd like

Можете ли добавить возможность получения результатов browser.url как в чистом webdriver - https://webdriver.io/docs/api/browser/url/#examples ?

```javascript
// navigate to a new URL
const request = await browser.url('https://webdriver.io');
// log url
console.log(request.url); // outputs: "https://webdriver.io"
console.log(request.response?.status); // outputs: 200
console.log(request.response?.headers); // outputs: { 'content-type': 'text/html; charset=UTF-8' }
```

### Describe the drawbacks of your solution

_No response_

### Describe alternatives you've considered

_No response_

Contributor guide

Open the contributing guide

Research direction

Start with the browser.url entry point and compare its current behavior with the WebdriverIO browser.url examples linked in the issue. Trace how navigation results are returned, then verify that the result exposes the final URL, response status, headers, and redirect-chain information described in the request.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript, typescript
Domain
testing-qa, web-dev
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
52/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.