Skip to Content
Django 3 Web Development Cookbook - Fourth Edition
book

Django 3 Web Development Cookbook - Fourth Edition

by Aidas Bendoraitis, Jake Kronika
March 2020
Intermediate to advanced
608 pages
17h 17m
English
Packt Publishing
Content preview from Django 3 Web Development Cookbook - Fourth Edition

Getting ready

Let's start with the locations and likes apps from the Implementing the Like widget recipe in Chapter 4, Templates and JavaScript.

For this recipe, we'll be using the Selenium library with the Chrome browser and ChromeDriver to control it. Let's prepare that:

  1. Download and install the Chrome browser from https://www.google.com/chrome/.
  2. Create a drivers directory in your Django project. Download the latest stable version of ChromeDriver from https://sites.google.com/a/chromium.org/chromedriver/, unzip it, and place it into the newly created drivers directory.
  3. Install Selenium in your virtual environment, as follows:
(env)$ pip install selenium
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Django 2 Web Development Cookbook - Third Edition

Django 2 Web Development Cookbook - Third Edition

Jake Kronika, Aidas Bendoraitis

Publisher Resources

ISBN: 9781838987428Supplemental Content