Top critical review
1.0 out of 5 starsSerious problems in the book code
Reviewed in the United States on January 10, 2019
Page 17 in paper book : setDriver(WebDriver driver) has this code setBrowserHandle(getDriver().getWindowHandle()). The method setBrowserHandle is not defined anywhere in previous pages or the next few pages after that. A serious problem like this right in the beginning is enough to make me return the book.
Moreover, the code provided on Packt website and github is very different from that in the book. For example, the code on page 16 handles creation of webdriver for iOS and android devices. But, the online code does not. BTW, setBrowserHandle is missing in the online code !!! I can understand that the final code will not be exactly the same as that in the book. But why such a huge difference ? So much of the intermediate code is missing from the final one.
Another issue is that the github repo for the book code has only 5 commits !!! So, we can’t see the intermediate steps, i.e. how the project progressed and became the final version. I am sure that if the code was committed according to the progress in the book, then there would be many more commits. As an aside, some random person and not the author has committed the code on github. Looks like they are out of sync with each other.
I strongly suspect that many or all of the positive reviews of this book are fake. I wonder why no one mentioned any of these issues in their reviews.