Hello!
Me and my friend have the same laptops Lenovo W540 with the same parts, same Windows 10, same drivers but the thing is that on his laptop the cast to device button on YouTube(opened on Chrome browser) is missing and he cant cast anything to his TV which obviously supports that feature...