There is no official PC version of Words With Friends, and no supported way to play it in a desktop browser. The game was built for phones and tablets, and that is where it has stayed.
There is an Android app, which is the most accessible route if you do not have an iOS device. Android emulators on a PC will also run it, though that is unofficial and account behaviour can be unpredictable. If you want a word game natively on a computer, the browser versions of Scrabble-alikes and Words With Friends-style titles from other publishers fill the same gap without workarounds.
It is a common frustration — plenty of people have searched for a PC build that does not exist.