How do you define which user to start the terminal
I have installed Code Server according to this instruction. All goes well except the terminal is running as root.
Headless Chrome Webdriver Surface Pro X
When I try to execute a WebDriver-IO script in my Surface Pro X with the use of headless Chrome, I encounter the following exception,
Installing DB-less Kong API GW in Ubuntu 20.04
Kong provides APT repository to ease the installation but it would need the following files to start the service,
Run Selenium test using WebDriverIO in a cron job
I want to generate some traffic to my blog for analytic purpose. Wrote a selenium script using a headless Chrome Browser and WebdriverIO. All works well but it doesn’t work when I put it as a cron job.
Installing virtualenv in Ubuntu 20.04
I am following this article to install Virtualenv on my Lemur Pro. All goes well until I execute source ~/.bashrc
which prompts me with the following error,
Add pagination to Jekyll site
I have been using Jekyll to write my blog for quite sometime. The “so-simple-theme” takes care of all the layout and today, I try to add pagination to my site since I have enough entries now.
Getting elements in Webdriver using both XPath and CSS Selector
Writing a test to randomly click on any link on my webpage and all entries are wrapped within a particular CSS class named ‘button white’.
Deverloping UI testing script in WSL2 using WebDriver
I want to use webdriver in my WSL2 environment and there are several challenges.
Passing environment variable to GO application in startup
Sometimes, we want to pass attribute values as environment variable, either for security reason (like password) or to ease the deployment across envrionment.
Using REDIS container image and assign it with a password
By default, the Docker image provided by REDIS is having no authentication password. To secure the access, we need to either pack our container image together with a configuration file or volume mount where the configuration file resides.