While practicing Selenium, I tried to automate the British Airways site, where auto-suggestion dropdowns are used. When manually entering a few letters, the dropdowns display suggestions; when automating it, they don't, even if I use the wait method. I was told sites like this prevent automation as security measure, but is it so, please?
Here's my code:
driver.get("https://www.britishairways.com/");
driver.manage().window().maximize();
driver.findElement(By.id("from")).click();
driver.findElement(By.id("from")).sendKeys("tor");