As for selenium-webdriver to the current running profile Firefox?
After running firefox, create a profile, which is saved to some temporary folder /tmp/rust_mozprofileXXXXXX.
As using selenium webdriver to obtain the path to such a running temporary profile browser Firefox (from within the code, meaning)?
Used NodeJS v12.16.1, Mozilla Firefox 72.0.1, selenium-webdriver 3.6.0, geckodriver 1.19.1.
Well, in addition to this, how can I get process id of browser (from within the code, meaning)?
A solution for running multiple browsers in parallel I came up with: options.addArguments("-zzzzzzzzz");
and then, for example, with the command ps -AlF | grep zzzzzzzzz
to get the path to the folder of a specific profile.
But in connection with castelnou this decision, I will be glad to get a more elegant version)