As PhantomJS is no longer maintained and there are packaging problems, let's switch to using Firefox in a headless configuration which is a scenario supported by Selenium. Change-Id: Ic98c5b71202f033b9013c126f6bacdb49980acfa
		
			
				
	
	
		
			8 lines
		
	
	
		
			187 B
		
	
	
	
		
			Bash
		
	
	
		
			Executable File
		
	
	
	
	
			
		
		
	
	
			8 lines
		
	
	
		
			187 B
		
	
	
	
		
			Bash
		
	
	
		
			Executable File
		
	
	
	
	
#!/bin/bash
 | 
						|
 | 
						|
set -ex
 | 
						|
 | 
						|
sudo apt update
 | 
						|
# install Firefox which will be used for Web UI testing in a headless mode.
 | 
						|
sudo apt install -y firefox-geckodriver python3-petname python3-selenium
 |