You can use "Result" variables that are predefined in BAS. There are 9 of them.
If you need more you can use filesystem actions and create TXT or CSV files
to store any number you need. Similar to that you can use database for such
tasks too.
Get Proxy from Profile to variable - Access data from HTTP-sniffer
-
I'm wondering how I can get the proxy that is saved within a profile to a variable?
There is setting "always load proxy from profile folder" in the action "Create or switch to regular profile".
This sets the proxy automatically for all following browser actions. But if I want to set this proxy e.g. to Http-client actions
or make some checks if the proxystring contains a specific string?Also is it somehow possible to get the results from the HTTP-Sniffer window (where it checks the IPs, fetches fingerprints and so on) within the script?
So I don't need to check again in the script if a proxy is from a needed country as I simply fetch the received result from the get request to ip.bablosoft.com/ip-api.com and have the needed data.Thank you for your help.
-
You can use "Filesystem" - "Read file" to get proxy information from
already saved profile in BAS. Proxy information is saved within profile
in TXT file named "proxy.txt", and it is in json format >{"server":"95.164.135.18","Port":"6551","IsHttp":true,"name":"somename","password":"somepassword"}So you can extract it from there.