R
R
R1der772021-09-26 23:51:58
Software testing
R1der77, 2021-09-26 23:51:58

What tool can be used to change the url when opening a link in a browser?

Hello!
There is such a problem, two stands are given (123.rf and 1234.rf), I do not have access to the code.
I need to check that when I click on the button, the page 123.rf/id/id/id/ will open.
The problem is that there is no functionality that I need to check on 123.rf (/id/id/id), it is on 1234.rf.
But it is important to switch from 123.rf. Is there any tool that can change the url when opening a link in a browser?
Once again, what I'm trying to achieve:
1. I go to 123.rf
2. I click on the button
3. There is a redirect to 123.rf/id/id/id/.
Step 3 requires the tool to replace the url with 1234.rf/id/id/id/.

Answer the question

In order to leave comments, you need to log in

2 answer(s)
5
5am, 2021-09-27
​​@5am

1 via devtools (mouse click on the link -> inspect element -> change the link in dom)
2 catch the request to get the page via charles/burp suite/any other proxy and replace the link there

E
Egor Ommonik, 2021-09-27
@Ommonick

If you suddenly write autotests on ui (selenium for example) - then you can click the link directly in the autotest code, take the address from the browser bar and change the host to open a new link.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question