abiyani / automate-save-page-as

Automate browser's "Save Page As" operation
Apache License 2.0
168 stars 50 forks source link

This script is working when I execute it from bash but not working if executed from a java program #29

Closed soham0243 closed 4 years ago

soham0243 commented 4 years ago

Screenshot (31) This bash script does not run as it should.

abiyani commented 4 years ago

You will need to provide more information:

  1. What does the error message / behavior look like?
  2. How are you running the script? In particular, is there an active X-server running on the machine?
  3. What happens if you just run google-chrome for example as your command in the Java program above? Does it launch Chrome correctly on the machine when the program runs?
soham0243 commented 4 years ago
  1. It does not show any error message. Just an empty field is shown
  2. No there is no active x server running on the machine.
  3. I don't have google chrome in linux installed. I only have firefox browser. firefox didn't start when I ran it from java program. Note: I resolved this issue using processbuilder object in java. Anyway, thanks for your reply.